//
//  InvestFirstCell.m
//  TenThousand
//
//  Created by baixue on 16/6/6.
//  Copyright © 2016年 baixue. All rights reserved.
//

#import "InvestFirstCell.h"

@implementation InvestFirstCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}


- (void)setDataWithModel:(TransferGetListModel *)model{
    _PrjectName.text = [NSString stringWithFormat:@"%@%@",model.PrjectName,model.Code];
    _Ammount.text = [NSString stringWithFormat:@"%@",model.Ammount ];
    _AddDate.text = [NSString stringWithFormat:@"%@",model.AddDate];

//    _Rate.text = [NSString stringWithFormat:@"%@",model.Rate ];

    _Rate.text = [NSString stringWithFormat:@"%.2f",model.Rate ];

}

-(void)drawRect:(CGRect)rect{
    //cell添加阴影
    _backLab.layer.shadowColor = [UIColor colorWithRed:0.85 green:0.85 blue:0.85 alpha:1.00].CGColor;
    _backLab.layer.shadowOffset =CGSizeMake(0, 1);;
    _backLab.layer.shadowOpacity = YES;
}

@end
